<template>
    <li style="list-style-type:none;">
        <span style="font-size:14px;">{{ model.ModuleName }}</span>
        <el-checkbox v-for="item in model.ActionList" :key="item.ID" :label="item.ID">{{ item.Name }}</el-checkbox>
        <ul>
            <items :key="cel.id" v-for='cel in model.ChildModuleList' :model='cel'></items>
        </ul>
    </li>
</template>
<script>
export default {
  name: 'items',
  props: {
    model: {
      type: Object,
      required: true
    }
  }
}
</script>